rem --------------------------------------------------------

rem Run this batch file to build the viewer. If you have problems 

rem with the rem path then reset the system vars ANT_HOME, JAVA_HOME

rem and modify this file to set the appropriate defaults.

rem --------------------------------------------------------

setlocal

if not "%ANT_HOME%" == "" goto gotAntHome

set ANT_HOME=E:\software\eclipseAll\eclipse\plugins\org.apache.ant_1.6.5

set PATH=%PATH%;%ANT_HOME%\bin

:gotAntHome



if not "%JAVA_HOME%" == "" goto gotJavaHome

set JAVA_HOME=D:\Java\jdk1.6.0

set PATH=%PATH%;%JAVA_HOME%\bin

:gotJavaHome

call ant -f "build.xml"

endlocal

